package com.hualude.roadsign.service;

import com.hualude.roadsign.dto.ActorDto;
import com.hualude.roadsign.dto.DTRequestDto;
import com.hualude.roadsign.dto.DTResponseDto;

import java.util.List;

/**
 * Created by xu-jiaHui on 2017/4/7.
 */
public interface ActorService {

    /**
     * @Description: 获取角色信息用于DT
     * @Author: xu-jiaHui
     * @Date: 2017/4/9 12:57
     */
    public DTResponseDto getActor4Dt(DTRequestDto dtRequestDto) throws Exception;

    /**
     * @Description: 更改角色信息
     * @Author: xu-jiaHui
     * @Date: 2017/4/9 12:58
     */
    public Integer updateActorById(ActorDto actorDto) throws Exception;

    /**
     * @Description: 添加角色
     * @Author: xu-jiaHui
     * @Date: 2017/4/9 12:58
     */
    public Integer addActor(ActorDto actorDto) throws Exception;

    /**
     * @Description: 删除角色
     * @Author: xu-jiaHui
     * @Date: 2017/4/9 13:24
     */
    public Integer deleteActorById(Integer actorId) throws Exception;


}
